Skip to content

chore: update Backstage CR apiVersion to rhdh.redhat.com/v1alpha6#4675

Draft
zdrapela wants to merge 6 commits intoredhat-developer:mainfrom
zdrapela:update-operator-api-to-v1alpha6
Draft

chore: update Backstage CR apiVersion to rhdh.redhat.com/v1alpha6#4675
zdrapela wants to merge 6 commits intoredhat-developer:mainfrom
zdrapela:update-operator-api-to-v1alpha6

Conversation

@zdrapela
Copy link
Copy Markdown
Member

Summary

Update Backstage Custom Resource YAML files to use the latest rhdh-operator API version rhdh.redhat.com/v1alpha6.

Changes

Updated apiVersion from v1alpha4, v1alpha5 to v1alpha6 in the following files:

  • .ci/pipelines/resources/rhdh-operator/rhdh-start.yaml
  • .ci/pipelines/resources/rhdh-operator/rhdh-start-rbac.yaml
  • .ci/pipelines/resources/rhdh-operator/rhdh-start_K8s.yaml
  • .ci/pipelines/resources/rhdh-operator/rhdh-start-rbac_K8s.yaml
  • .ci/pipelines/resources/rhdh-operator/rhdh-start-runtime.yaml
  • e2e-tests/playwright/utils/authentication-providers/yamls/backstage.yaml

API Spec Changes Detected

v1alpha5 -> v1alpha6

Fields added:

  • BackstageSpec.flavours ([]Flavour)
  • Flavour.enabled (bool) (default: true)
  • Flavour.name (string)

v1alpha4 -> v1alpha6

Fields added:

  • BackstageSpec.flavours ([]Flavour)
  • Flavour.enabled (bool) (default: true)
  • Flavour.name (string)
  • BackstageDeployment.kind (string)

Fields removed:

  • Application.image (*string)
  • Application.imagePullSecrets ([]string)
  • Application.replicas (*int32)

Migrations Applied

.ci/pipelines/resources/rhdh-operator/rhdh-start.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

.ci/pipelines/resources/rhdh-operator/rhdh-start-rbac.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

.ci/pipelines/resources/rhdh-operator/rhdh-start_K8s.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

.ci/pipelines/resources/rhdh-operator/rhdh-start-rbac_K8s.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

.ci/pipelines/resources/rhdh-operator/rhdh-start-runtime.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

e2e-tests/playwright/utils/authentication-providers/yamls/backstage.yaml:

  • New field available: spec.flavours (type: []Flavour) -- added in v1alpha6

Why

The rhdh-operator has moved to API version v1alpha6 (see api/current-types.go). The Backstage CR definitions used in CI pipelines and e2e tests need to stay aligned.

Verification

  • CI pipeline operator deployment tests should pass with the updated API version.
  • Auth provider e2e tests that deploy their own Backstage instance should also pass.

This PR was automatically generated by the RHDH Operator API Version Aligner MCP tool.

Update .ci/pipelines/resources/rhdh-operator/rhdh-start.yaml from v1alpha5 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
Update .ci/pipelines/resources/rhdh-operator/rhdh-start-rbac.yaml from v1alpha5 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
Update .ci/pipelines/resources/rhdh-operator/rhdh-start_K8s.yaml from v1alpha5 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
Update .ci/pipelines/resources/rhdh-operator/rhdh-start-rbac_K8s.yaml from v1alpha5 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
Update .ci/pipelines/resources/rhdh-operator/rhdh-start-runtime.yaml from v1alpha5 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
Update e2e-tests/playwright/utils/authentication-providers/yamls/backstage.yaml from v1alpha4 to v1alpha6 to align with rhdh-operator.

Spec migrations applied:
- New field available: `spec.flavours` (type: `[]Flavour`) -- added in v1alpha6
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 22, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant